package com.lcz.demo.customerorder;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.Arrays;
import java.util.List;


public class CustomerFakeDAO implements CustomRepo{
    @Override
    public List<Customer> getCustomers() {
        return Arrays.asList(new Customer(4,"iii" ,"123456","email@gmail.com"),
                new Customer(5,"www","12456","email@gmail.com"));
    }
}
